#include <stdio.h>
#include <math.h>
#include <vector>
using namespace std;
vector<int> base;

char num[20];
int ans, i, j;
int main()
{
    
    freopen("A-small.in", "r", stdin);
    freopen("A-small.out", "w", stdout);
    int n, t, icase;
    scanf("%d", &n);
    gets(num);
    for (icase = 0; icase<n; ++icase) {
        gets(num);
        base.clear();
        int len = strlen(num);
         for (j=0; j<len; ++j)
            if (num[j]!=' ') {
                base.push_back(num[j]-'0');
            }    
        
        i = 3;
        c


        printf("Case #%d: %d\n", icase+1, ans);
    }    
    
    
    return 0;
}    

